<template>
  <div class="complete">
    <img :src="this.obj.profile || ''" alt="">
    <div>姓名:{{this.obj.name || ''}}</div>
    <div>所有数据</div>
    <div>{{this.obj}}</div>
  </div>
</template>

<script>
export default {
  name: 'complete',
  data () {
    return {
      obj: this.$store.state.userInfo
    }
  },
  mounted () {
    this.$Notify({type: 'success', message: '创建成功'});
  }
}
</script>

<style lang="scss" scoped>
.complete {
  width: 100vw;
  overflow: hidden;
  text-align: center;
  height: 100vh;
  font-size: 16px;

  img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
  }
}
</style>
